home *** CD-ROM | disk | FTP | other *** search
- /* (C) Copyright 1991 Dave Fritsche (wb8zxu), All Rights Reserved.
- *
- * Redistribution and use in source and binary forms are permitted for
- * non-commercial use, provided that the above copyright notice and this
- * paragraph are duplicated in all such forms. THIS SOFTWARE IS PROVIDED
- * ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
- * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE.
- */
- #include <stdio.h>
- #include "screen.h"
-
- int scrn00a()
- {
- /* field 1 */
- tx[0] = 30; ty[0] = 12; tsa[0] = 1; tfa[0] = 0;
- strcpy(title[0], "Install KA9Q's NOS (y/n)");
- ix[0] = 56; iy[0] = 12; isa[0] = 7; ifa[0] = 0;
- strcpy(iif[0], "y");
- strcpy(ift[0], "@");
- strcpy(ifd[0], "y");
- up[0] = 1; dn[0] = 2; l[0] = 1; r[0] = 2;
- rmask[0] = 127;
- /* field 2 */
- tx[1] = 29; ty[1] = 13; tsa[1] = 1; tfa[1] = 0;
- strcpy(title[1], "Install G1EMM's NOS (y/n)");
- ix[1] = 56; iy[1] = 13; isa[1] = 7; ifa[1] = 0;
- strcpy(iif[1], "n");
- strcpy(ift[1], "@");
- strcpy(ifd[1], "n");
- up[1] = 1; dn[1] = 3; l[1] = 1; r[1] = 3;
- rmask[1] = 127;
- /* field 3 */
- tx[2] = 25; ty[2] = 14; tsa[2] = 1; tfa[2] = 0;
- strcpy(title[2], "Install BM mail program (y/n)");
- ix[2] = 56; iy[2] = 14; isa[2] = 7; ifa[2] = 0;
- strcpy(iif[2], "y");
- strcpy(ift[2], "@");
- strcpy(ifd[2], "y");
- up[2] = 2; dn[2] = 4; l[2] = 2; r[2] = 4;
- rmask[2] = 127;
- /* field 4 */
- tx[3] = 33; ty[3] = 15; tsa[3] = 1; tfa[3] = 0;
- strcpy(title[3], "Install NETNEWS (y/n)");
- ix[3] = 56; iy[3] = 15; isa[3] = 7; ifa[3] = 0;
- strcpy(iif[3], "n");
- strcpy(ift[3], "@");
- strcpy(ifd[3], "n");
- up[3] = 3; dn[3] = 4; l[3] = 3; r[3] = 4;
- rmask[3] = 127;
-
- nfields = 4;
-
- clrscr();
- box(1, 1, 80, 24, 2);
- addlin(1, 5, 80, 2);
- addlin(1, 22, 80, 2);
- puttxt(60, 1, 0, 0, TITLE);
- puttxt(22, 3, 1, 0, "KA9Q (NOS) TCP/IP Software Installation");
- puttxt(8, 23, 1, 0, "ESC = Quit, F1 = next screen, = previous field, = next field");
- screen();
- }
-